﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TVset
{
    class RemoteControlPanel
    {
        private TVset _tv;

        public RemoteControlPanel(TVset tv)
        {
            _tv = tv;
        }

        public void pressTurnOnOffButton()
        {
            _tv.turnOnOffTV();
        }
        public void pressPlusVolumeButton()
        {
            _tv.IncreaseVolumeOfSound += 10;
        }
        public void pressMinusVolumeOfSound()
        {
            _tv.DecreaseVolumeOfSound -= 10;
        }
    }
}
